package aqv

class PoliticalParty {
	
	String name
	String description
	Integer cantOfPoliticians
	User admin
	
    static constraints = {
		name blank: false
		description blank: false
		cantOfPoliticians blank: false
    }
	
	static hasMany = [politicians: Politician, appUsers: User]
	
	static mapping = {
		tablePerHierarchy false
	}

}
